package com.exam.mss;

import com.exam.entity.ExUserPaperHistory;
import com.exam.entity.ExUserPaperHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExUserPaperHistoryMapper {
    long countByExample(ExUserPaperHistoryExample example);

    int deleteByExample(ExUserPaperHistoryExample example);

    int deleteByPrimaryKey(Integer upid);

    int insert(ExUserPaperHistory record);

    int insertSelective(ExUserPaperHistory record);

    List<ExUserPaperHistory> selectByExample(ExUserPaperHistoryExample example);

    ExUserPaperHistory selectByPrimaryKey(Integer upid);

    int updateByExampleSelective(@Param("record") ExUserPaperHistory record, @Param("example") ExUserPaperHistoryExample example);

    int updateByExample(@Param("record") ExUserPaperHistory record, @Param("example") ExUserPaperHistoryExample example);

    int updateByPrimaryKeySelective(ExUserPaperHistory record);

    int updateByPrimaryKey(ExUserPaperHistory record);
}